package com.example.securityconfig.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.securityconfig.entity.Result;
import com.example.securityconfig.entity.User;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author HXB
 * @since 2024-01-07
 */
public interface UserService extends IService<User> {

    Result<?> loginUser(User loginVo);

    Result<?> getUserData(Long id);

    Result<?> logout(String token);
    Result<?> addUser(User user,Long id);
}
